<?php
require COMMON_PATH.'logTool.class.php';
require COMMON_PATH.'message.class.php';
class IndexAction extends Action {
    public function index(){
        echo "Hello World";
    }
    //发送用户协议图片
    public function licence(){
        $licence1 = "/Home/Common/licence/"."用户协议1.jpg";
        $licence2 = "/Home/Common/licence/"."用户协议2.jpg";
        $back = array(
            'licence1' => $licence1,
            'licence2' => $licence2
        );
        echo message::success('用户协议',$back);
    }
}